/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */
#ifndef __MAP_DATABASE_H__
#define __MAP_DATABASE_H__

#include <string>
#include <map>
#include <vector>

#include "StormLib.h"
#include "OgreString.h"
#include "OgreStringVector.h"

#include "FileBase.h"
#include "WdtFile.h"
#include "WdlFile.h"
#include "AdtFile.h"

namespace PQGame
{
	class MapDatabase
	{
	public:
		static MapDatabase& getSingleton()
		{
			static MapDatabase inst;
			return inst;
		}

		WdtFile* getWdtFile(int index);
		WdlFile* getWdlFile(int index);
		AdtFile* getAdtFile(int index,int col,int row);

	};
}
#define SMapDatabase PQGame::MapDatabase::getSingleton()
#endif
